home *** CD-ROM | disk | FTP | other *** search
/ Sounds Terrific 1 / Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso / modules / t / theman02.mod < prev    next >
Encoding:
Text File  |  1994-08-04  |  2.5 KB  |  65 lines

  1. MOD -- Auto-Validation Password for newusers from 10@2315
  2. The Man #10 @2315
  3. Sun Dec 22 18:19:45 1991
  4. 7[2Msg Status7] 1Reply Wanted.
  5. 7~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6.  
  7. ------------------------------------------------------------------------------
  8. Filename:THEMAN02.MOD
  9. File affected:NEWUSER.C
  10. Purpose:Establishes an Auto-validation password for users that you told the 
  11.         password to so that they don't need to wait to be validated.  This way
  12.     you don't have to use a newuser password.
  13. -----------------------------------------------------------------------------
  14. Legend:
  15. #....Exists
  16. +....Add line
  17.  
  18.  
  19. #    input_sex();
  20. #    input_age(&thisuser);
  21. #    input_comptype();
  22. #    input_screensize();
  23. #    nl();
  24. #    npr("Random password: %s\r\n",thisuser.pw);
  25. #    nl();
  26. #    prt(5,"Do you want a different password (Y/N)? ");
  27. #    if (yn())
  28. #      input_pw();
  29. +    prt(2,"What is the Auto-Validation Password? ");
  30. +    mpl(20);
  31. +    input(s,20);
  32. +    if (stricmp(s,"RANDOM")==0) {    /*Change to your liking*/
  33. +    thisuser.sl=60;
  34. +    thisuser.dsl=60;
  35. +    npr("Thank you, you have been validated.");
  36. +    }
  37. +    else if (stricmp(s,"RANDOM2")==0) {  /*Different level of access*/
  38. +    thisuser.sl=120;
  39. +    thisuser.dsl=60;
  40. +    prt(6,"You have been validated with super access, call back after you are hung up");
  41. +    } else {
  42. +    npr("Don't worry about it, The Man will validate you himself");
  43. +  }
  44. #  }
  45. #  if (!hangup)
  46. #    do {
  47. #      nl();
  48. #      nl();
  49. #      npr("1. Name          : %s\r\n",thisuser.name);
  50. #      if (syscfg.sysconfig & sysconfig_no_alias)
  51. #        npr("2. City, State   : %s\r\n",thisuser.realname);
  52. ------------------------------------------------------------------------------
  53. this mod is very flexible as you can also add AR's and DAR's to give to people
  54. also.  Change it to your liking.  You can also fix it so that it reads in the
  55. auto-val password from a file.
  56.  
  57. If you use this mod.  Please E-mail me and tell me how you like it.  And also
  58. tell me how to fix it so that it will read the password from a file.  I was
  59. too lazy to do that myself.  I use it so that when I want someone to call and
  60. I know I won't be around, they can validate themselves.  And that way I can
  61. still have an open board and keep out undesirable users.
  62.  
  63. 6The Man 2Sysop of 7The Magic Mountains BBS 3IceNET node 36
  64. 2203-869-0938 for MM BBS Greenwich, CT
  65. 3also 2The Man 10@2315 4WWIVnet SCI-Fi BB